package com.xhcl.system.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xhcl.common.annotation.Excel;
import com.xhcl.common.core.domain.BaseEntity;

/**
 * 资产负债对象 t_srhs_zcfz
 * 
 * @author xhcl
 * @date 2020-09-04
 */
public class TSrhsZcfz extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 行号 */
    @Excel(name = "行号")
    private Long num;

    /** 显示内容 */
    @Excel(name = "显示内容")
    private String text;

    /** 类型：1-文字类型、2-科目类型、3-合计类型 */
    @Excel(name = "类型：1-文字类型、2-科目类型、3-合计类型")
    private Long style;

    /** 是否加粗：1 是；0 否 */
    @Excel(name = "是否加粗：1 是；0 否")
    private Long sfjc;

    /** 缩进数 */
    @Excel(name = "缩进数")
    private Long sjs;

    /** 年初余额 */
    @Excel(name = "年初余额")
    private BigDecimal ncye;

    /** 期末余额 */
    @Excel(name = "期末余额")
    private BigDecimal qmye;

    /** 规则，如科目代码或合计公式 */
    @Excel(name = "规则，如科目代码或合计公式")
    private String rule;

    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }
    public void setStyle(Long style) 
    {
        this.style = style;
    }

    public Long getStyle() 
    {
        return style;
    }
    public void setSfjc(Long sfjc) 
    {
        this.sfjc = sfjc;
    }

    public Long getSfjc() 
    {
        return sfjc;
    }
    public void setSjs(Long sjs) 
    {
        this.sjs = sjs;
    }

    public Long getSjs() 
    {
        return sjs;
    }
   
    
    
    public BigDecimal getNcye() {
		return ncye;
	}

	public void setNcye(BigDecimal ncye) {
		this.ncye = ncye;
	}

	public BigDecimal getQmye() {
		return qmye;
	}

	public void setQmye(BigDecimal qmye) {
		this.qmye = qmye;
	}

	public void setRule(String rule) 
    {
        this.rule = rule;
    }

    public String getRule() 
    {
        return rule;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("num", getNum())
            .append("text", getText())
            .append("style", getStyle())
            .append("sfjc", getSfjc())
            .append("sjs", getSjs())
            .append("ncye", getNcye())
            .append("qmye", getQmye())
            .append("rule", getRule())
            .toString();
    }
}
